.Tab-titles {
  box-sizing: border-box;
  position: relative;
  font-size: 10px;
  height: 4.2em;
  background: linear-gradient(#dad9da, #d9d8d9);
  padding: 1em 1.2em 0.45em 1.2em;
  border-radius: 0.5em 0.5em 0 0;
  box-shadow: 0 0.05em #b7b7b7;
  overflow: hidden;
}

.Tab-titles * {
  box-sizing: inherit;
  font-family: inherit;
}

.Tab-titles .Tab-titles-bottom-bar {
  position: absolute;
  bottom: 0;
  height: 0.45em;
  left: 0;
  width: 100%;
  background: #f2f2f2;
  box-shadow: 0 -0.05em rgba(0, 0, 0, 0.27);
  z-index: 20;
}

.Tab-titles .Tab-titles-content {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.Tab-titles .Tab-title {
  position: absolute;
  left: 0;
  height: 2.8em;
  width: 24em;
  border: 0;
  margin: 0;
  z-index: 1;
}

.Tab-titles .Tab-title,
.Tab-titles .Tab-title * {
  user-select: none;
  cursor: default;
}

.Tab-titles .Tab-title .Tab-title-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.Tab-titles .Tab-title .Tab-title-background > svg {
  width: 100%;
  height: 100%;
}

.Tab-titles .Tab-title .Tab-title-background > svg .Tab-title-shadow {
  fill: none;
  stroke: rgba(0, 0, 0, 0.27);
  stroke-width: 0.5px;
}

.Tab-titles .Tab-title .Tab-title-background > svg .Tab-title-background {
  fill: #d0d0d0;
  transform: translateX(0.25px) translateY(0.25px);
}

.Tab-titles .Tab-title.Tab-title-active {
  z-index: 999;
}

.Tab-titles .Tab-title.Tab-title-active .Tab-title-background > svg .Tab-title-background {
  fill: #f2f2f2;
}

.Tab-titles .Tab-title.Tab-title-just-added {
  top: 10px;
  animation: Tab-title-just-added 120ms forwards ease-in-out;
}

@keyframes Tab-title-just-added {
  to {
    top: 0;
  }
}

.Tab-titles.Tab-titles-sorting .Tab-title:not(.Tab-title-actively-dragged),
.Tab-titles:not(.Tab-titles-sorting) .Tab-title.Tab-title-just-dragged {
  transition: transform 120ms ease-in-out;
}

.Tab-titles .Tab-title-favicon {
  position: relative;
  margin-left: 1.6em;
  height: 1.6em;
  width: 1.6em;
  background-size: 1.6em;
  margin-top: 0.6em;
  z-index: 3;
  display: inline-block;
  vertical-align: top;
  pointer-events: none;
}

.Tab-titles .Tab-title-title {
  position: relative;
  display: inline-block;
  vertical-align: top;
  color: #222;
  padding: 0 0.25em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.2em;
  margin-top: 0.5em;
  max-width: calc(100% - 5em);
  pointer-events: none;
}

.Tab-titles .Tab-title-close {
  position: absolute;
  width: 1.4em;
  height: 1.4em;
  border-radius: 50%;
  z-index: 2;
  right: 1.4em;
  top: 0.7em;
}

.Tab-titles .Tab-title-close::before {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path stroke='#5a5a5a' stroke-linecap='round' stroke-width='1.125' d='M4 4 L10 10 M10 4 L4 10'></path></svg>");
  position: absolute;
  display: block;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.Tab-titles .Tab-title-close:hover::before,
.Tab-titles .Tab-title-close:hover:active::before {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path stroke='#fff' stroke-linecap='round' stroke-width='1.2' d='M4 4 L10 10 M10 4 L4 10'></path></svg>");
}

.Tab-titles .Tab-title-close:hover {
  background: #e25c4b;
}

.Tab-titles .Tab-title-close:hover:active {
  background: #b74a3b;
}
